package com.mx.mxweb.model;

import java.util.Date;

public class SysMenu {
    private Long id;

    private String name;

    private Integer sort;

    private String href;

    private String icon;

    private String target;

    private String permission;

    private Long parentId;

    private String parentIds;

    private Byte status;

    private Byte type;

    private Byte flag;

    private Date createTime;

    private Long createBy;

    private Date modifyTime;

    private Long modifyBy;

    private String isBtn;

    private String note;

    public SysMenu(Long id, String name, Integer sort, String href, String icon, String target, String permission, Long parentId, String parentIds, Byte status, Byte type, Byte flag, Date createTime, Long createBy, Date modifyTime, Long modifyBy, String isBtn, String note) {
        this.id = id;
        this.name = name;
        this.sort = sort;
        this.href = href;
        this.icon = icon;
        this.target = target;
        this.permission = permission;
        this.parentId = parentId;
        this.parentIds = parentIds;
        this.status = status;
        this.type = type;
        this.flag = flag;
        this.createTime = createTime;
        this.createBy = createBy;
        this.modifyTime = modifyTime;
        this.modifyBy = modifyBy;
        this.isBtn = isBtn;
        this.note = note;
    }

    public SysMenu() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href == null ? null : href.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target == null ? null : target.trim();
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission == null ? null : permission.trim();
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds == null ? null : parentIds.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getFlag() {
        return flag;
    }

    public void setFlag(Byte flag) {
        this.flag = flag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public String getIsBtn() {
        return isBtn;
    }

    public void setIsBtn(String isBtn) {
        this.isBtn = isBtn == null ? null : isBtn.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }
}